home *** CD-ROM | disk | FTP | other *** search
- On 19-Jun-97, MCraven629@aol.com wrote:
-
- >To rotate a point about the world Y-axis:
-
- > sang=sin(angle) : cang=cos(angle)
- > tempx = (x * cang) + (z * sang)
- > tempz = (z * cang) - (x * sang)
-
- Hmm... here are tempx and tempz
-
- > y=tempy
- > z=tempz
-
- but here are tempy and tempz. Where is the error?
-
- > dz = z - _zoom
- > tempx = (x * cang) + (dz * sang)
- > tempz = ((dz * cang) - (x * sang)) + _zoom
- > x=tempx
- > y=tempy
-
- Also here?
-
- --
- _ _ _ _ _ _ _
- \--- :_ :_ :_::- --: : ::_) _: --- \/ ----------------------------------/
- \\_: !_)!_,! !!_, !,!_!! \(_! ::::..:::: nEVERmIND :::'`::::_//
- `\------------------------------------------------------------- /\ ----/'
- Nikola Smolenski - member of Team AMIGA smolensk@eunet.yu
-
-
-